package com.example.testscalaandroid2.act
import org.scaloid.common._
import scala.collection.convert.WrapAsScala
class App3 extends SActivity with WrapAsScala {
  onCreate {
    contentView = new SRelativeLayout {
      <<.fill
      val tv = STextView("tv here")
      val txt = SEditText().<<.below(tv).>>
      val btnCancle=SButton("cancle").<<.below(txt).alignParentRight.wrap.>>
      val btnOK=SButton("ok").<<.leftOf(btnCancle).alignTop(btnCancle).>>
    }
  }
}